package com.sgzn.sgpay.model.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 兑换比例管理服务新增请求类
 * @author huangsenguang
 * @version Id: SgsExchangeCoinInfoAddAndUpdateRequest.java, v 0.1 2018/4/25 20:54 huangsenguang Exp $$
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class SgsExchangeCoinInfoAddRequest extends SgsMerchantBaseRequest {
    /**
     * 设备ID
     */
    @NotBlank(message = "deviceId不允许为空")
    private String deviceId;

    /**
     * 兑换比例值,1元等于多少币
     */
    @NotBlank(message = "兑换比例值不允许为空")
    private String exchangeValue;

    /**
     * 创建人
     */
    private String createdBy;
}

